package blackitheima1.ObjectTest.test1;

public class Demo1 {
    public static void main(String[] args) {
        Student s=new Student("张三",25);
        System.out.println(s);           // 两者调用的都是Object的默认toString,
        System.out.println(s.toString());//即输出地址值
    }

}
